bitkeeper revision 1.1159.1.426 (419a4d2daxW1dPqb0aZ-g7oiL-o_uA)
authorcl349@freefall.cl.cam.ac.uk <cl349@freefall.cl.cam.ac.uk>
Tue, 16 Nov 2004 18:55:41 +0000 (18:55 +0000)
committercl349@freefall.cl.cam.ac.uk <cl349@freefall.cl.cam.ac.uk>
Tue, 16 Nov 2004 18:55:41 +0000 (18:55 +0000)
Fix debug build.

xen/common/sched_bvt.c

index cacd7abb68ca417283e0a28122f1ed6cf31b3ac0..cf5414b396abd81febfe854f12eaf78f47800dfa 100644 (file)
@@ -501,7 +501,7 @@ static task_slice_t bvt_do_schedule(s_time_t now)
      * Work out how long 'next' can run till its evt is greater than
      * 'next_prime's evt. Take context switch allowance into account.
      */
-    ASSERT(next_prime_inf->evt >= next_inf->evt);
+    ASSERT(next_prime_einf->evt >= next_einf->evt);
     
     r_time = ((next_prime_einf->evt - next_einf->evt)/next_einf->inf->mcu_advance)
         + ctx_allow;